package org.flexqueries2.components.buttons.spark
{
	import mx.states.OverrideBase;
	
	import spark.components.Button;
	
	public class IconButton extends Button
	{
		
		[Bindable]
		[Inspectable(category="Flexqueries")]//, defaultValue="", format="File")]
		public var icon:Class;
				
		public function IconButton()
		{
			super();
		}
		
		override protected function createChildren():void
		{
			this.setStyle("skinClass", org.flexqueries2.components.buttons.spark.IconSkin);
			super.createChildren();
		}
	}
}